package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.Messages;
import com.literaryfamily.literaryfamily.entity.MessagesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessagesMapper {
    long countByExample(MessagesExample example);

    int deleteByExample(MessagesExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Messages row);

    int insertSelective(Messages row);

    List<Messages> selectByExampleWithBLOBs(MessagesExample example);

    List<Messages> selectByExample(MessagesExample example);

    Messages selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Messages row, @Param("example") MessagesExample example);

    int updateByExampleWithBLOBs(@Param("row") Messages row, @Param("example") MessagesExample example);

    int updateByExample(@Param("row") Messages row, @Param("example") MessagesExample example);

    int updateByPrimaryKeySelective(Messages row);

    int updateByPrimaryKeyWithBLOBs(Messages row);

    int updateByPrimaryKey(Messages row);
}